﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PdfSharp.Drawing;

namespace Zero.UControl.Demo.Helper
{
    public class PdfExportOptions
    {
        public double Dpi { get; set; } = 144;
        public string HeaderText { get; set; } = null;
        public string FooterText { get; set; } = null;
        public string WatermarkText { get; set; } = null;
        public double Margin { get; set; } = 20; // 边距，单位：point（约1/72英寸）
        public XFont Font { get; set; } = new XFont("Microsoft YaHei", 10);
        public XBrush Brush { get; set; } = XBrushes.Black;
    }
}
